/**
 * 
 */
package com.jrh.web.admin.form;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.jrh.domain.entity.FeatureValue;

/**
 * @author IBM 2012-7-18 下午8:00:03
 */
public class AdminProductForm {

    private Long               id;
    private Long               categoryId;
    private Long               brandId;
    private Long               productSetId;

    private String             categoryName;
    private String             brandName;
    private String             productSetName;

    private String             name;
    private String             code;

    private BigDecimal         originalPrice;
    private BigDecimal         price;

    private MultipartFile      imageUrlFile;
    private String             imageUrlFilePath;

    private Date               gmtModified;
    private String             descn;
    private Long               favourite;
    private Long               comments;
    private String             status;
    private String             recommended;
    private Integer            sort = 1000;

    private List<FeatureValue> featureValueList;

    private MultipartFile[]    showImageUrlFile;
    private String[]           showImageUrlFilePath;
    private String[]           showMinImageUrlFilePath;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getProductSetId() {
        return productSetId;
    }

    public void setProductSetId(Long productSetId) {
        this.productSetId = productSetId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDescn() {
        return descn;
    }

    public void setDescn(String descn) {
        this.descn = descn;
    }

    public Long getFavourite() {
        return favourite;
    }

    public void setFavourite(Long favourite) {
        this.favourite = favourite;
    }

    public Long getComments() {
        return comments;
    }

    public void setComments(Long comments) {
        this.comments = comments;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRecommended() {
        return recommended;
    }

    public void setRecommended(String recommended) {
        this.recommended = recommended;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<FeatureValue> getFeatureValueList() {
        return featureValueList;
    }

    public void setFeatureValueList(List<FeatureValue> featureValueList) {
        this.featureValueList = featureValueList;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getProductSetName() {
        return productSetName;
    }

    public void setProductSetName(String productSetName) {
        this.productSetName = productSetName;
    }

    public MultipartFile getImageUrlFile() {
        return imageUrlFile;
    }

    public void setImageUrlFile(MultipartFile imageUrlFile) {
        this.imageUrlFile = imageUrlFile;
    }

    public MultipartFile[] getShowImageUrlFile() {
        return showImageUrlFile;
    }

    public void setShowImageUrlFile(MultipartFile[] showImageUrlFile) {
        this.showImageUrlFile = showImageUrlFile;
    }

    public String getImageUrlFilePath() {
        return imageUrlFilePath;
    }

    public void setImageUrlFilePath(String imageUrlFilePath) {
        this.imageUrlFilePath = imageUrlFilePath;
    }

    public String[] getShowImageUrlFilePath() {
        return showImageUrlFilePath;
    }

    public void setShowImageUrlFilePath(String[] showImageUrlFilePath) {
        this.showImageUrlFilePath = showImageUrlFilePath;
    }

    public String[] getShowMinImageUrlFilePath() {
        return showMinImageUrlFilePath;
    }

    public void setShowMinImageUrlFilePath(String[] showMinImageUrlFilePath) {
        this.showMinImageUrlFilePath = showMinImageUrlFilePath;
    }

    @Override
    public String toString() {
        return "AdminProductForm [id=" + id + ", categoryId=" + categoryId + ", brandId=" + brandId + ", productSetId="
               + productSetId + ", categoryName=" + categoryName + ", brandName=" + brandName + ", productSetName="
               + productSetName + ", name=" + name + ", code=" + code + ", originalPrice=" + originalPrice + ", price="
               + price + ", imageUrlFile=" + imageUrlFile + ", gmtModified=" + gmtModified + ", descn=" + descn
               + ", favourite=" + favourite + ", comments=" + comments + ", status=" + status + ", recommended="
               + recommended + ", sort=" + sort + ", featureValueList=" + featureValueList + "]";
    }

}
